package com.yanqu.road.entity.log.horserun;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

@FieldTypeAnnotation(tableName = "t_l_horse_run_refresh_skill", autoSave = true, dataUpload = true, eventName = "horserun_gainref",uploadCk = true,desc = "小马快跑刷新技能日志")
public class HorseRunSkillRefreshLog extends ServerBaseLog {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "孔位id",dataAttribute = "horserun_hoid")
    private int skillPosition;
    @FieldTypeAnnotation(desc = "消耗道具",dataAttribute = "horserun_use")
    private String cost;
    @FieldTypeAnnotation(desc = "洗出技能",dataAttribute = "horserun_gainid")
    private int newSkill;
    @FieldTypeAnnotation(desc = "替换位置上的旧技能")
    private int oldSkill;
    @FieldTypeAnnotation(desc = "当前孔位剩余洗练次数",dataAttribute = "horserun_gainnum")
    private int remainRefreshTime;
    @FieldTypeAnnotation(desc = "元宝刷新次数")
    private int ingotTime;
    @FieldTypeAnnotation(desc = "道具刷新次数")
    private int itemTime;



    public HorseRunSkillRefreshLog(int activityId, long userId, int skillPosition, String cost, int newSkill, int oldSkill, int remainRefreshTime, int ingotTime, int itemTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.skillPosition = skillPosition;
        this.cost = cost;
        this.newSkill = newSkill;
        this.oldSkill = oldSkill;
        this.remainRefreshTime = remainRefreshTime;
        this.ingotTime = ingotTime;
        this.itemTime = itemTime;

    }

    public HorseRunSkillRefreshLog() {
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getSkillPosition() {
        return skillPosition;
    }

    public void setSkillPosition(int skillPosition) {
        this.skillPosition = skillPosition;
    }

    public String getCost() {
        return cost;
    }

    public void setCost(String cost) {
        this.cost = cost;
    }

    public int getNewSkill() {
        return newSkill;
    }

    public void setNewSkill(int newSkill) {
        this.newSkill = newSkill;
    }

    public int getOldSkill() {
        return oldSkill;
    }

    public void setOldSkill(int oldSkill) {
        this.oldSkill = oldSkill;
    }

    public int getRemainRefreshTime() {
        return remainRefreshTime;
    }

    public void setRemainRefreshTime(int remainRefreshTime) {
        this.remainRefreshTime = remainRefreshTime;
    }


    public int getIngotTime() {
        return ingotTime;
    }

    public void setIngotTime(int ingotTime) {
        this.ingotTime = ingotTime;
    }

    public int getItemTime() {
        return itemTime;
    }

    public void setItemTime(int itemTime) {
        this.itemTime = itemTime;
    }
}
